package com.howie.parnote.service.common;


import com.howie.parnote.util.Page;

import java.util.List;
import java.util.Map;

/**
 * Created by HY on 2014/12/8 0008.
 */
public interface ApplicationBaseServiceIntf<T> {

	List<T> selectAll();

	void insertModule(T module);

	void insertModuleSelective(T module);

	void updateByPrimaryKeySelective(T module);

	void updateByPrimaryKey(T module);

	T selectByPrimaryKey(Integer moduleId);

	void selectByPage(Page<T> page, Map<String, Integer> pageParams);
}
